package global

import (
	"sync"

	"github.com/ArtisanCloud/PowerWeChat/v3/src/miniProgram"
	"github.com/ArtisanCloud/PowerWeChat/v3/src/officialAccount"
	"github.com/go-redis/redis/v8"
	"go.uber.org/zap"
	"gorm.io/gorm"

	config2 "gin-api-server/config"
)

var (
	DB               *gorm.DB
	Redis            *redis.Client
	NONEEDAUTHMETHOD []string
	RootPath         string
	Config           config2.Config
	WechatMiniapp    *miniProgram.MiniProgram
	WechatMp         *officialAccount.OfficialAccount

	SysCache sync.Map

	ZAP *zap.Logger
)
